﻿<%@ Page Language="C#" MasterPageFile="~/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="OrderInfo.aspx.cs" Inherits="Pages_OrderInfo" Title="Untitled Page" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.2, Version=8.2.4.0, Culture=neutral, PublicKeyToken=49d90c14d24271b5"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<title>Imagevn upload and printing pro</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="titleClient">
<h1>My OrderBill</h1>
</div>
<div class="contentClient">
    <div id="MainContent">
    <div style="text-align:center; padding:10px; margin:0px auto; width:800px">
    <center>
        <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server" 
            AutoGenerateColumns="False">
            <Columns>
            <dxwgv:GridViewDataTextColumn Caption="Order No" FieldName="O_ID"/>
            <dxwgv:GridViewDataTextColumn Caption="Date" FieldName="O_Time">
                <PropertiesTextEdit DisplayFormatString="{0:dd/MM/yyyy}">
                </PropertiesTextEdit>
                </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn Caption="Name" FieldName="O_NameCust"/>
            <dxwgv:GridViewDataTextColumn Caption="Phone" FieldName="O_Phone"/>
            <dxwgv:GridViewDataTextColumn Caption="Address" FieldName="O_Address"/>
            <dxwgv:GridViewDataTextColumn Caption="Payment Method" FieldName="PM_Name"/>
            <dxwgv:GridViewDataTextColumn Caption="Status Order" FieldName="StatusOrder"/>
            <dxwgv:GridViewDataColumn Caption="Function">
                <DataItemTemplate>
                    <img alt='view' src="../Admin/Images/view.gif" width='20px' height='20px'><a href='../Pages/OrderDetail.aspx?oid=<%# Eval("O_ID")%>'>View</a>
                </DataItemTemplate>
            </dxwgv:GridViewDataColumn>
        </Columns>
        </dxwgv:ASPxGridView>
    </center>
    </div>
    </div>
    </div>
</asp:Content>

